package com.chinaoly.sdk.view;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.chinaoly.sdk.R;
import com.chinaoly.sdk.base.BaseActivity;
import com.chinaoly.sdk.view.http_test.HttpTestActivity;

/**
 * @author wubin
 */
public class MainActivity extends BaseActivity {


    @Override
    public void initData(Bundle bundle) {

    }



    @Override
    public int bindLayout() {
        return R.layout.activity_main;
    }

    @Override
    public void initView(Bundle savedInstanceState, View contentView) {

    }

    @Override
    public void doBusiness() {

        Button btn1 = findViewById(R.id.btn1);

        btn1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
              startActivity(new Intent(MainActivity.this, HttpTestActivity.class));
            }
        });

    }

    @Override
    public void onWidgetclick(View view) {

    }


}
